﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="MyReportHistory.aspx.cs" Inherits="CARMS.Report.MyReportHistory" %>

<%@ Import Namespace="CARMSBusiness.InterFace" %>
<%@ Register Src="~/Controls/GridPager.ascx" TagName="GridPager" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset>
        <legend>My Report History List</legend>
        <div style="margin-top: 10px">
            <vs:GridView ID="gridList" runat="server" AutoGenerateColumns="False" AllowSorting="true"
                OnRowDataBound="gridList_RowDataBound" OnRowCommand="gridList_RowCommand">
                <Columns>
                <asp:TemplateField HeaderText="Report Flow Name">
                    <InsertItemTemplate>
                        <%#Eval("ReportFlow.G132.G1321") %>
                    </InsertItemTemplate>
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="Edit">
                        <ItemTemplate>
                            <asp:ImageButton ID="btnView" runat="server" SkinID="ViewDetail" CommandName="ViewItem"
                                CommandArgument='<%#Eval("ReportHeaderID") %>' />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </vs:GridView>
            <uc1:GridPager ID="PageQueryAdapter1" runat="server" TargetControlID="gridList" PageSize="20"
                OnPerformGetCondition="PageQueryAdapter1_PerformGetCondition" OnPerformGetRecordCount="PageQueryAdapter1_PerformGetRecordCount"
                OnPerformGetPageData="PageQueryAdapter1_PerformGetPageData" />
    </fieldset>
</asp:Content>
